import request from '@/config/request'

/**
 * 获取视频详情
 */
export const getVideoDetail = (videoId: number) => {
  return request.get({ url: '/platform/video/videoDetail', params: { videoId } })
}

/**
 * 审核视频
 */
export const auditVideo = (data: any) => {
  return request.put({ url: '/platform/video/audit', data: data })
}

/**
 * 分页查询审核的视频
 */
export const getAuditedVideoPage = (reqVO: any) => {
  return request.get({ url: '/platform/video/auditedVideoPage', reqVO })
}
